﻿using System;
namespace HHModel
{
	/// <summary>
	/// DownloadCodes:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class DownloadCodes
	{
		public DownloadCodes()
		{}
		#region Model
		private int _id;
		private string _downcodenumber;
		private string _downcode;
		private int? _ifuse=0;
		private DateTime? _expiration;
		private int? _status;
		private DateTime? _addtime= DateTime.Now;
		/// <summary>
		/// 
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 下载中心编号
		/// </summary>
		public string DowncodeNumber
		{
			set{ _downcodenumber=value;}
			get{return _downcodenumber;}
		}
		/// <summary>
		/// 下载码(随机产生的)
		/// </summary>
		public string Downcode
		{
			set{ _downcode=value;}
			get{return _downcode;}
		}
		/// <summary>
		/// 是否已用(1:已用过0:未用过)
		/// </summary>
		public int? IfUse
		{
			set{ _ifuse=value;}
			get{return _ifuse;}
		}
		/// <summary>
		/// 下载码过期时间
		/// </summary>
		public DateTime? Expiration
		{
			set{ _expiration=value;}
			get{return _expiration;}
		}
		/// <summary>
		/// 状态（1：激活2：未激活）
		/// </summary>
		public int? Status
		{
			set{ _status=value;}
			get{return _status;}
		}
		/// <summary>
		/// 添加时间
		/// </summary>
		public DateTime? AddTime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		#endregion Model

	}
}

